<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面全选功能</title>
    <link rel="stylesheet" href="./index.css">
</head>
<body>

    <div class="dataDiv">
        <input type="checkbox">全选
        <input type="checkbox">葡萄
        <input type="checkbox">橘子
        <input type="checkbox">香蕉
        <input type="checkbox">丝瓜
        <input type="checkbox">西红柿
    </div>
    


    <script src="./index.js"></script>
</body>
</html>